#function: build CentOS6 mysql5.5 server
#parmeter:
#author: yeslf
#version: 1.0
#Test:

FROM 172.27.1.200:5000/lchub/lccentos6:base
MAINTAINER yeslf yeslf@xxx.com


#install mysql
COPY C6mysql56.repo  /etc/yum.repos.d/ 
COPY C6installmysql56.sh /root/
COPY start.sh /root/ 
RUN cd /root/;chmod  755  C6installmysql56.sh start.sh;mv start.sh /   ;sh  C6installmysql56.sh 
EXPOSE 3306
CMD ["/start.sh"]



